package com.ruoyi.user.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员设置对象 t_member_config
 * 
 * @author ruoyi
 * @date 2025-04-10
 */
public class MemberConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员ID */
    private Long id;

    /** 会员名称 */
    @Excel(name = "会员名称")
    private String memberName;

    /** 会员类型 */
    @Excel(name = "会员类型")
    private Long memberType;

    /** 会员价格 */
    @Excel(name = "会员价格")
    private BigDecimal memberPrice;

    /** 会员折扣价 */
    @Excel(name = "会员折扣价")
    private BigDecimal memberDiscountPrice;

    /** 有效天数 */
    @Excel(name = "有效天数")
    private Integer effectDay;

    /** 逻辑删除（0=未删除，1=已删除） */
    private Integer isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMemberName(String memberName) 
    {
        this.memberName = memberName;
    }

    public String getMemberName() 
    {
        return memberName;
    }
    public void setMemberType(Long memberType) 
    {
        this.memberType = memberType;
    }

    public Long getMemberType() 
    {
        return memberType;
    }
    public void setMemberPrice(BigDecimal memberPrice) 
    {
        this.memberPrice = memberPrice;
    }

    public BigDecimal getMemberPrice() 
    {
        return memberPrice;
    }
    public void setMemberDiscountPrice(BigDecimal memberDiscountPrice) 
    {
        this.memberDiscountPrice = memberDiscountPrice;
    }

    public BigDecimal getMemberDiscountPrice() 
    {
        return memberDiscountPrice;
    }
    public void setEffectDay(Integer effectDay) 
    {
        this.effectDay = effectDay;
    }

    public Integer getEffectDay() 
    {
        return effectDay;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberName", getMemberName())
            .append("memberType", getMemberType())
            .append("memberPrice", getMemberPrice())
            .append("memberDiscountPrice", getMemberDiscountPrice())
            .append("effectDay", getEffectDay())
            .append("isDelete", getIsDelete())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
